package com.ubuntuvim.annotaction;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * the definition of annotation use @interface
 * @author cdq@fortunes.com.cn
 */
@Target(ElementType.TYPE)  //  The definition of annotation using position, can be used in class, interface or enum statement
@Retention(RetentionPolicy.RUNTIME)  // the definition of time for analytical note, when running
@Documented
public @interface MyAnnotation01 {
	String value();  // definition property
	//  type statement
	enum ClsType {
		staticCls, dynCls, otherCls
	};
	//  type definition
	ClsType clsType();
}
